// @import '~iview/src/styles/index.less';

// @primary-color          : #f38800;
// @info-color             : #efb336;
// @success-color          : #19be6b;
// @processing-color       : @primary-color;
// @warning-color          : #ff9900;
// @error-color            : #ed4014;
// @normal-color           : #e6ebf1;
// @link-color             : #f38800;
// @link-hover-color       : tint(@link-color, 20%);
// @link-active-color      : shade(@link-color, 5%);
// @selected-color         : fade(@primary-color, 90%);


:root {
  --ivu-text-color:#17233d;
  --ivu-text-black-color:#515a6e;
  --ivu-checkbox-inner:#fff;
  --ivu-checkbox-border:#dcdee2;
  --ivu-primary-color: #f38800;
    --ivu-link-hover-color: rgba(245, 159, 51, 1);
    --ivu-link-active-color-color: rgba(230, 129, 0, 1);
    --ivu-selected-color: rgba(243, 135, 0, 0.9);
    --ivu-input-shadow-color: rgba(243, 135, 0, 0.2);
    --ivu-btn-focus-shadow-color:#f7f2f2;
    --ivu-tree-title-hover-color: rgba(253, 243, 229, 1);
    --ivu-tree-title-selected-color: rgba(252, 231, 204, 1);
    --ivu-menu-active-color: rgba(254, 249, 242, 1);
    --ivu-menu-active-border-color: rgba(230, 129, 0, 1);
    --ivu-table-hover-bg-color: rgba(253, 243, 229, 1);
    --ivu-date-picker-hover-bg-color: rgba(253, 237, 216, 1);
    --ivu-input-bg-color:#fff;
    --ivu-input-color:#515a6e;
    --ivu-label-text-color:#515a6e;
    --ivu-input-boder-color:#dcdee2;
    --ivu-input-hover-border-color:rgba(245, 159, 51, 1);
    --ivu-input-placeholder-color: #c5c8ce;
    --ivu-input-number-bg-color:#fff;
    --ivu-input-number-wrap-bg-color:#fff;
    --ivu-btn-border-color:#dcdee2;
    --ivu-steps-color1:#e8eaec;
    --ivu-steps-color2:#f38800;
    --ivu-steps-color3:#666;
    --ivu-steps-color4:#fff;
    --ivu-steps-color5:#e8eaec;
    --bg-color:#fff;
    --chat-header-bg:url('./assets/images/chat/bg.svg') no-repeat;
    --chat-header-color:#4f4a48;
    --chat-answer-color:#333;
    --chat-answer-shadow:0rem 0rem 0.3rem 0rem rgba(221, 215, 206, 0.52);
    --chat-answer-opacity:1;
    --chat-answer-bg:#fff;
    --chat-sug-bg:#f9f8f8;
    --chat-sug-color:#666666;
    --chat-input-bg:rgba(255, 255, 255, 0.59);
    --chat-input-color:#333;
    --chat-input-border:rgba(234, 237, 237, 1);
    --chat-voice-color:#666666;
    --chat-noChat-bg:#fff;
    --chat-defaultList-bg:linear-gradient(90deg, #f2f6ff 2%, #fffbf7 98%);
    --chat-defaultList-color:#342424;
    --chat-pure-desc:#342424;
    --chat-pure-title:#342424;
    --chat-answer-th:#f1f2f5;
    --chat-tool-bg:#fff;
    --chat-tool-shadow:rgba(175, 175, 175, 0.61);
    --setting-header-bg-color:#f7f7f7;
    --text-color:#17191d;
    --header-close-color: #333333;
    --menu-bg-color:#fff;
    --main-bg-color:#fff;
    --setting-text-title-color:#333333;
    --setting-text-color:#4f4a48;
    --input-border-color:#dcdee2;
    --btn-color:#515a6e;
    --btn-bg-color:#fff;
    --label-color:#17191d;
    --text-update-color:rgb(94, 155, 247);
    --svg-zuixiaohua-color:#252426;
    --layout-header-bg: url('./assets/images/v-bg.svg') no-repeat;
    --box-shadow-color:rgba(251, 251, 251, 0.5);
    --svg-fanhui-color:#333333;
    --svg-zhinengti-stroke:"#979797";
    --svg-zhinengti-fill:"#D8D8D8";
    --tips-color:rgba(102, 102, 102, 0.85);
    --svg-logo-color:black;
    --svg-edit-color:#333;
    --svg-copy-color:#000;
    --card-bg-color:#ffffff;
    --card-border-color:rgba(234, 234, 234, 1);
    --card-border-shadow:0rem 0rem 0.33rem 0rem rgba(234, 234, 234, 0.9);
    --card-footer-bg-color:  #F9F9F9;
    --discover-menu-bg-color:#f6f6f6;
    --discover-text-color:#333333;
    --expore-active-bg:#f9f9f9;
    --expore-chat-title:#4b4d50;
    --expore-drop-bg:#fff;
    --expore-drop-select-bg:#fff;
    --suggest-list-dot:#e0e0e0;
    --svg-chakan-color:#272536;
    --agent-pop-color:#333;
    --agent-pop-title:#333;
}
:root[data-theme='dark']{
  --ivu-text-color:rgba(255,255,255,0.87);
  --ivu-text-black-color:rgba(255,255,255,0.60);
  --ivu-checkbox-inner:#000;
  --ivu-checkbox-border:#dcdee2;
  --ivu-primary-color: #000;
    --ivu-link-hover-color: rgba(255, 255, 255, 0.60);
    --ivu-link-active-color-color: rgba(0, 0, 0, 1);
    --ivu-selected-color: rgba(0, 0, 0, 0.9);
    --ivu-input-shadow-color: rgba(0, 0, 0, 0.2);
    --ivu-btn-focus-shadow-color:rgba(0, 0, 0, 0.2);
    --ivu-tree-title-hover-color: rgba(229, 229, 229, 1);
    --ivu-tree-title-selected-color: rgba(204, 204, 204, 1);
    --ivu-menu-active-color:  #FFF9F515;
    --ivu-menu-active-border-color:#FFF9F515;
    --ivu-table-hover-bg-color: rgba(229, 229, 229, 1);
    --ivu-date-picker-hover-bg-color: rgba(229,229,229,0.5);
    --ivu-input-bg-color:rgba(255, 255, 255, 0.15);;
    --ivu-input-color:rgba(255,255,255,0.87);
    --ivu-label-text-color:rgba(255,255,255,0.87);
    --ivu-input-boder-color: rgba(229,229,229,0.5);
    --ivu-input-hover-border-color: rgba(229,229,229,0.5);
    --ivu-input-placeholder-color: rgba(255,255,255,0.30);
    --ivu-input-number-bg-color:rgba(255,255,255,0.34);
    --ivu-input-number-wrap-bg-color:rgba(255,255,255,0.20);
    --ivu-steps-color1:#757575;
    --ivu-steps-color2:#f38800;
    --ivu-steps-color3: rgba(255,255,255,0.87);
    --ivu-steps-color4:#666;
    --ivu-steps-color5:#5b5b5b;
    --bg-color:#000;
    --ivu-btn-border-color:#000;
    --chat-header-bg:url('./assets/images/dark.svg') no-repeat;
    --chat-header-color:#fff;
    --chat-answer-color:#fff;
    --chat-answer-shadow:0rem 0rem 0.5rem 0rem rgba(219,218,218,0.45);
    --chat-answer-opacity:0.6;
    --chat-answer-bg:#232323;
    --chat-sug-bg:#3d3d3c;
    --chat-sug-color:#fff;
    --chat-input-bg:#262626;
    --chat-input-color:#ccc;
    --chat-input-border:#262626;
    --chat-voice-color:#9f9f9f;
    --chat-noChat-bg:#232323;
    --chat-defaultList-bg:linear-gradient(90deg, #3d3c3c 2%, #3d3c3c 98%);
    --chat-defaultList-color:#afafb0;
    --chat-pure-desc:#a7a7a7;
    --chat-pure-title:#fff;
    --chat-answer-th:#3c3c3c;
    --chat-tool-bg:#474747;
    --chat-tool-shadow:rgba(0,0,0,0.33);
    --setting-header-bg-color:#1F1F1F;
    --text-color: #FFFFFF;
    --header-close-color: #a7a2a2;
    --menu-bg-color:#2B2B2B;
    --main-bg-color:#000;
    --setting-text-title-color:rgba(255,255,255,0.87);
    --setting-text-color:rgba(255,255,255,0.60);
    --input-border-color:#54565b;

    --btn-color:#515a6e;
    --btn-bg-color:#000;
    --label-color:rgba(255,255,255,0.87);
    --text-update-color:#2d8cf0;
    --svg-zuixiaohua-color:#fff;
    --layout-header-bg:#1F1F1F;
    --box-shadow-color:rgb(133 129 129 / 50%);
    --svg-fanhui-color:#a39e9e;
    --svg-zhinengti-stroke:"#979797";
    --svg-zhinengti-fill:"#D8D8D8";
    --tips-color: rgba(255,255,255,0.34);
    --svg-logo-color:none;
    --svg-edit-color:#fff;
    --svg-copy-color:#fff;
    --card-bg-color:rgba(255,255,255,0.20);
    --card-border-color:rgba(255,255,255,0.2);
    --card-footer-bg-color: rgba(0,0,0,0.30);
    --card-border-shadow:unset;
    --add-card-border-color:rgba(255,255,255,0.1);
    --card-btn-border-shadow:rgba(0,0,0,0.61);
    --discover-menu-bg-color:rgba(255, 255, 255, 0.12);
    --discover-text-color:rgba(255, 255, 255, 0.6);;
    --btn-action-bg-color:#474747;
    --btn-action-hover-color: rgba(255,255,255,0.20);
    --btn-action-svg-color: rgba(255,255,255,0.60);
    --btn-action-svg-hover-color:#ffffff;
    --expore-active-bg:#4b4a49;
    --expore-chat-title:rgba(255,255,255,0.87);
    --expore-drop-bg:#676563;
    --expore-drop-select-bg:#4b4a49;
    --suggest-list-dot:#414142;
    --svg-chakan-color:#fff;
    --agent-pop-color: rgba(255,255,255,0.60);
    --agent-pop-title: rgba(255,255,255,0.87);
--ivu-btn-text-hover-bg:rgba(255, 255, 255, 0.34);
    --ivu-btn-text-color:rgba(255,255,255,0.87);
    --ivu-btn-default-color:rgba(255,255,255,0.87);
    --ivu-btn-default-bg:#FFF9F515;
    --ivu-btn-default-border:1px solid transparent;
    --chat-footer-tips:rgba(255,255,255,0.30);
}
// :root.dark-theme{
//   --primary-color:#121212;
//   --bg-color:#121212;
// }

// 全局字体大小设置
// @font-size-base         : 1.13rem;
// @font-size-small        : 1rem;
body{
  user-select: none;
}


.ivu-radio-group-button-solid .ivu-radio-wrapper-checked:not(.ivu-radio-wrapper-disabled){
  background-color:var(--ivu-primary-color) !important;
}
/* 完整的滚动条样式 */
::-webkit-scrollbar {
  width: 5px;
  background-color: #f9f9fd; /* 滚动条背景色 */
}

/* 滚动条上的滑块 */
::-webkit-scrollbar-thumb {
  background-color: #d1d1e0; /* 滑块颜色 */
  border-radius: 3px; /* 滑块圆角 */
  border: 3px solid #f9f9fd; /* 滑块边框 */
}

/* 滚动条上的滑块：悬停时 */
::-webkit-scrollbar-thumb:hover {
  background-color: #a0a0b3; /* 滑块悬停颜色 */
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
  background-color: #f9f9fd; /* 轨道颜色 */
  border-radius: 3px; /* 轨道圆角 */
  box-shadow: inset 0 0 3px rgba(0,0,0,0.3); /* 轨道阴影 */
}

*{
  scrollbar-width: thin;
  scrollbar-color: #d1d1e0 #f9f9fd;
}

html[data-theme='dark'] *{
  scrollbar-width: thin;
  scrollbar-color:#ffffff60 #000000;
}
